package org.chnxi.study.design.adapter;

/**
 * 此处通过组合的方式实现
 */
public class Adapter2 implements NetworkToUsb {

    private Adaptee adaptee;

    Adapter2(Adaptee adaptee){
        this.adaptee = adaptee;
    }

    @Override
    public void handlerRequest() {
        adaptee.request();

    }
}
